﻿using System;
using CodeGenerator.CodeGenBL;
using CodeGenerator.ProjectBL;

namespace CodeGenerator.Generator
{
    public abstract class GenerateBase: IGenerator
    {
        protected ICodeGenBL CodeGenBL { get; set; }
        protected IProjectBL ProjectBL { get; set; }
        protected GenerateBase(IProjectBL projectBL, ICodeGenBL codeGenBL, String outputPath)
        {
            ProjectBL = projectBL;
            CodeGenBL = codeGenBL;
            OutputPath = outputPath;
        }

        public abstract void Generate(int projectId);
        public string OutputPath { get; set; }
    }
}
